xend: passthrough: do not check non-page-aligned MMIO BAR if not strict-check
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 16 Oct 2009 07:30:13 +0000 (08:30 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 16 Oct 2009 07:30:13 +0000 (08:30 +0100)
commit6edd9aaf782b201534d278f943de23734134d9f6
tree81cb56695a85363627357ccbfd02b6fb0d235603
parent4cf3febf20b3e6e910e5ee243471a55301ba64a5
xend: passthrough: do not check non-page-aligned MMIO BAR if not strict-check

When the option pci-passthrough-strict-check of
/etc/xen/xend-config.sxp is set to 'no', we don't check the
non-page-aligned MMIO BAR.  This could be useful in some cases, e.g.,
when there is only 1 device in the range of the page and we try to
assign the device to pv guest.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/server/pciif.py